<script src="<?= base_url(); ?>third_party/ckeditor/ckeditor.js"></script>

<div class="clear"> </div>
<div class="box_2">
    <div class="title reg bold"> 
        <span class="inline-block align_left fleft" style="width: 590px"><h3 class="color_2"> Reviews of <?= $this->management_model->get_model('CAR',$review['info']->model)->model; ?></h3></span> 
        <span class="color_3"><a href="javascript:history.back()">Go Back</a></span>
        <div class="clear"></div>
    </div>
    <div class="clear"> </div>

    <div id="inner">
        <div class="fleft" style="width: 350px;  padding-right:  20px">
            <div class="rowElem">
                <label>Posted By:</label>
                <span class="fright bold color_2"><?= $review['info']->name; ?></span>
            </div>
            <div class="rowElem">
                <label>Posted On:</label>
                <span class="fright bold color_2"><?= $review['info']->posted_on; ?></span>
            </div>
            <div class="rowElem">
                <label>Make:</label>
                <span class="fright bold color_2"><?= $this->management_model->get_make('CAR',$review['info']->make)->make; ?></span>
            </div>
            <div class="rowElem">
                <label>Model:</label>
                <span class="fright bold color_2"><?= $this->management_model->get_model('CAR',$review['info']->model)->model; ?></span>
            </div>

            <p>
            <div  class="rowElem">
                <label><strong>Pros</strong></label>
                <span class="font_1"> (The things like)</span>
                <div>
                    <?= $review['info']->pros; ?>
                </div>
            </div>

            <div  class="rowElem">
                <label><strong>Cons</strong></label>
                <span class="font_1"> (The things don't like)</span>
                <div>
                    <?= $review['info']->cons; ?>
                </div>
            </div>
            </p>

            <div class="clear"></div>
        </div>


        <div class="fright" style="width: 250px; border-left: dotted 1px #d6dff7; padding-left: 20px">
            <h2>Reviews Ratings</h2> 
            <p>
            <div class="rowElem">
                <div class="fleft">
                    <label><strong>Exterior & Style</strong></label>
                    <div>
                        <img src="<?= base_url() ?>assets/images/stars-<?= $review['info']->exterior; ?>.png" 
                             alt="<?= $this->pickup_model->get_pickup_info(14, $review['info']->exterior)->description; ?>" 
                             title="<?= $this->pickup_model->get_pickup_info(14, $review['info']->exterior)->description; ?>"     
                             />
                        <span class="color_2 pad_left_1"><?= $this->pickup_model->get_pickup_info(14, $review['info']->exterior)->description; ?> </span>
                    </div>
                </div>

            </div>

            <div class="rowElem">
                <div class="fleft">
                    <label><strong>Comfort & Space</strong></label>
                    <div>
                        <img src="<?= base_url() ?>assets/images/stars-<?= $review['info']->comfort; ?>.png" 
                             alt="<?= $this->pickup_model->get_pickup_info(14, $review['info']->comfort)->description; ?>" 
                             title="<?= $this->pickup_model->get_pickup_info(14, $review['info']->comfort)->description; ?>"     
                             />
                        <span class="color_2 pad_left_1"><?= $this->pickup_model->get_pickup_info(14, $review['info']->comfort)->description; ?> </span>
                    </div>
                </div>

            </div>

            <div class="rowElem">
                <div class="fleft">
                    <label><strong>Performance</strong></label>
                    <div>
                        <img src="<?= base_url() ?>assets/images/stars-<?= $review['info']->performance; ?>.png" 
                             alt="<?= $this->pickup_model->get_pickup_info(14, $review['info']->performance)->description; ?>" 
                             title="<?= $this->pickup_model->get_pickup_info(14, $review['info']->performance)->description; ?>"     
                             />
                        <span class="color_2 pad_left_1"><?= $this->pickup_model->get_pickup_info(14, $review['info']->performance)->description; ?> </span>
                    </div>
                </div>

            </div>

            <div class="rowElem">
                <div class="fleft">
                    <label><strong>Fuel Economy (mileage)</strong></label>
                    <div>
                        <img src="<?= base_url() ?>assets/images/stars-<?= $review['info']->fuel; ?>.png" 
                             alt="<?= $this->pickup_model->get_pickup_info(14, $review['info']->fuel)->description; ?>" 
                             title="<?= $this->pickup_model->get_pickup_info(14, $review['info']->fuel)->description; ?>"     
                             />
                        <span class="color_2 pad_left_1"><?= $this->pickup_model->get_pickup_info(14, $review['info']->fuel)->description; ?> </span>
                    </div>
                </div>

            </div>

            <div class="rowElem">
                <div class="fleft">
                    <label><strong>Value for Money & Features</strong></label>
                    <div>
                        <img src="<?= base_url() ?>assets/images/stars-<?= $review['info']->value; ?>.png" 
                             alt="<?= $this->pickup_model->get_pickup_info(14, $review['info']->value)->description; ?>" 
                             title="<?= $this->pickup_model->get_pickup_info(14, $review['info']->value)->description; ?>"     
                             />
                        <span class="color_2 pad_left_1"><?= $this->pickup_model->get_pickup_info(14, $review['info']->value)->description; ?></span>
                    </div>
                </div>

            </div>
            </p>
        </div>

        <div class="clear"></div>
        <p>
        
            <label><h3>Review of <?= $this->management_model->get_model('CAR',$review['info']->model)->model; ?></h3> </label>
            <?= $review['info']->description; ?>
        
<!--
        <div>
            <a onClick="document.getElementById('post_review').submit()" class="inline-block button_search color_1 bold"><span class="inline-block">Post Comments</span> </a>
        </div>
-->


    </div>


</div> <!-- End of Box_2 -->




